package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-库存模块-库存信息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_stock_info")
@ApiModel(value = "ErpStockInfo对象", description = "ERP系统-库存模块-库存信息")
public class ErpStockInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("货品ID")
    private Integer goodsId;

    @ApiModelProperty("库存数量")
    private Integer stock;

    @ApiModelProperty("质保年限")
    private Integer qualityYear;

    @ApiModelProperty("颜色")
    private String color;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("接插口")
    private String socket;

    @ApiModelProperty("通讯协议")
    private String communication;

    @ApiModelProperty("成本单价")
    private BigDecimal price;

    @ApiModelProperty("总价")
    private BigDecimal money;

    @ApiModelProperty("最后入库时间")
    private Date lastInTime;

    @ApiModelProperty("最后出库时间")
    private Date lastOutTime;

    @ApiModelProperty("最后变动时间")
    private Date lastInoutTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
